extends Bullet
class_name GrabBullet

@export var teleport_offset:float = 16

func _ready() -> void:
	body_entered.connect(teleport)

func teleport(body: Node2D) -> void:
	var dir = (body.global_position- shooter.global_position).normalized()
	body.global_position = shooter.global_position + dir * teleport_offset
